OPC Studio User's Guide and Reference
Create<TValue>(UAEndpointDescriptor,UANodeDescriptor) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Reactive Namespace > UAWriteValueObserver Class > Create Method : Create<TValue>(UAEndpointDescriptor,UANodeDescriptor) Method
Endpoint descriptor. Identifies the OPC-UA server.
Node descriptor. Identifies the node in OPC server's address space.
Creates a new observer that writes values into an OPC node given by OPC endpoint and node descriptors.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function Create(Of TValue)( _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal nodeDescriptor As UANodeDescriptor _
) As UAWriteValueObserver(Of TValue)
'Usage
 
Dim endpointDescriptor As UAEndpointDescriptor
Dim nodeDescriptor As UANodeDescriptor
Dim value As UAWriteValueObserver(Of TValue)
 
value = UAWriteValueObserver.Create(Of TValue)(endpointDescriptor, nodeDescriptor)

Parameters

endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
nodeDescriptor
Node descriptor. Identifies the node in OPC server's address space.

Type Parameters

TValue

Return Value

Returns an observer that writes values into the given OPC node.
Remarks
The UAReactive.DefaultClientSelector selector will be used for OPC Unified Architecture operations.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also